import Vue from 'vue'
import Vuex from 'vuex'
import store from '@govcloud/gsd-web-core-store'
import actions from './store/actions'
import state from './store/state'
import mutations from './store/mutations'
import getters from './store/getters'

const initStore = store.init(Vue, Vuex)

initStore.registerModule('frame', {
  namespaced: true,
  state,
  actions,
  mutations,
  getters
})

export default initStore
